package com.c8a.hosp.service;

import com.c8a.yygh.model.hosp.Hospital;
import com.c8a.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author C8A
 * @Date 2021-10-15 13:46
 * @Email 1912327276@qq.com
 */

public interface HospitalService {

    //上传医院接口
    void save(Map<String, Object> paramMap);
    //根据医院编号查询
    Hospital getByHoscode(String hoscode);
    //分页条件查询医院
    Page<Hospital> selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);
    //更新上线状态
    void updateStatus(String id, Integer status);
    //获取医院详情
    Map<String, Object> getHospById(String id);

    String getHospName(String hoscode);

    List<Hospital> findByHosname(String hosname);

    /**
     * 医院预约挂号详情
     */
    Map<String, Object> item(String hoscode);
}
